package com.kaili.tms.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.kaili.common.response.RestStatus;
import com.kaili.tms.pojo.dto.ShiftsRulesAddDTO;
import com.kaili.tms.pojo.dto.ShiftsRulesQueryDTO;
import com.kaili.tms.pojo.entity.ExportShiftsRules;
import com.kaili.tms.pojo.entity.ShiftsRulesEntity;
import com.kaili.tms.pojo.vo.RouteCodeOrNameVO;
import com.kaili.tms.pojo.vo.ShiftsRulesVO;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;
import java.util.Map;

/**
 * @author: zengshuai
 * @Time: 19-2-19 上午9:32
 */
@Service
public interface ShiftsRulesService {

    Page<ShiftsRulesVO> queryShiftsRules(Page<ShiftsRulesVO> page,ShiftsRulesQueryDTO queryDTO);

    Integer addShiftsRules(ShiftsRulesEntity addDTO);

    Integer updateShiftsRules(ShiftsRulesEntity addDTO);

    Integer deleteShiftsRules(Long id);

    String getTrainNum();

    List<RouteCodeOrNameVO> getRouteCodeOrName(String code);

    List<ExportShiftsRules> queryShiftsRulesExport(Map<String, Object> map);


}
